home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "IDBAS_Timer"
- Option Explicit
- Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
- Declare Function KillTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long) As Long
-
- Public lngTimerID As Long
- Public intervalSet As Long
- Public timerEnabled As Boolean
- Public timerObj As CTimer
-
- Public Sub TimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTime As Long)
- timerObj.RaiseTimer
- End Sub
-
-